<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" th:replace="layout/commonlayout(title='课题页详细信息')"><!-- layout文件路径-->



<th:block th:fragment="css">
    <!--如果没有内容，请保持 -->
    <!--DataTables [ OPTIONAL ]-->
    <link rel="stylesheet" href="/plugins/select2/css/select2.min.css">
    <link rel="stylesheet" href="/plugins/ztree/css/zTreeStyle/zTreeStyle.css">
    <link rel="stylesheet" href="/plugins/webuploader-0.1.5/webuploader.css">

</th:block>

<div th:fragment="content">
    <!--Page content-->
    <!--===================================================-->
    <div id="page-content">
        <div class="panel">
            <div class="panel-body">
                <form id="formsubject"  class="smart-form" method="post" action="">
                    <fieldset>
                        <input id="id" name="id" type="hidden">
                        <!-- <div class="row">
                            <div class="col-sm-6">为两列准备的</div>
                            <div class="col-sm-6">不要就删除</div>
                        </div>-->
                        <div class="row">
                            <div class="col-sm-12">
                                <div class="form-group">
                                    <label class="control-label">课题题目<span style="color: red;">*(长度为50字以内)</span></label>
                                    <input id="subjectName" name="subjectName" class="form-control" type="text"
                                           placeholder='' data-rule-maxlength="50" required
                                           data-msg-maxlength='亲，太多啦，最多50字符!!'>
                                </div>
                            </div>

                        </div>
                        <div class="row">
                            <div class="col-sm-3">
                                <div class="form-group">
                                    <label class="control-label">届:</label>
                                    <select class="form-control" id="thNum" name="thNum" required
                                    >


                                    </select>


                                </div>

                            </div>
                            <div class="col-sm-3">
                                <div class="form-group">
                                    <label class="control-label">专业:</label>
                                    <select class="form-control" id="professionType" name="professionType" required
                                    >


                                    </select>


                                </div>

                            </div>

                            <div class="col-sm-3">

                                <div class="form-group">
                                    <label class="control-label">课题类型:</label>
                                    <select class="form-control" id="subjectType" name="subjectType" required
                                    >


                                    </select>


                                </div>
                            </div>

                            <div class="col-sm-3">

                                <div class="form-group">
                                    <label class="control-label">课题来源:</label>
                                    <select class="form-control" id="subjectFrom" name="subjectFrom" required
                                    >


                                    </select>


                                </div>
                            </div>



                        </div>





                        <div class="row">
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label>课题简介：<span style="color: red;">*(长度为512)</span></label>
                                    <textarea id="introduction" name="introduction"
                                              class="form-control" rows="5"

                                              placeholder='课题简介'
                                              data-rule-maxlength="512"
                                              data-msg-maxlength='亲，太多啦，最多50字符!!'></textarea>
                                </div>


                            </div>
                        </div>

                        <div class="row">
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label>基本要求：<span style="color: red;">*(长度为512)</span></label>
                                    <textarea id="baseReq" name="baseReq"
                                              class="form-control"
                                              rows="5"
                                              placeholder=''
                                              data-rule-maxlength="512"
                                              data-msg-maxlength='亲，太多啦，最多512字符!!'></textarea>
                                </div>


                            </div>
                        </div>

                        <div class="row">
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label>参考资料：<span style="color: red;">*(长度为512)</span></label>
                                    <textarea id="references" name="references"
                                              class="form-control"
                                              rows="5"
                                              placeholder=''
                                              data-rule-maxlength="512"
                                              data-msg-maxlength='亲，太多啦，最多512字符!!'></textarea>
                                </div>


                            </div>
                        </div>

                        <div class="row">
                            <div class="col-sm-6">

                                <div class="form-group">
                                    <label class="control-label">指定学生(如需指定学生，请输入学号选择）:</label>
                                    <select class="form-control" id="studentId" name="studentId"
                                    >


                                    </select>


                                </div>
                            </div>
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label class="control-label">第二导师(如需指定第二导师，请输入工号选择）:</label>
                                    <select class="form-control" id="secondTutor" name="secondTutor"
                                    >


                                    </select>


                                </div>

                            </div>
                        </div>





                    </fieldset>
                </form>
                <!-- form end -->

                <div class="form-group">
                    <a class="btn btn-info btn-labeled pull-right" onclick="insertOrUpdateForm();">
                        <i class="btn-label ion-ios-checkmark"></i> 提交</a>
                </div>
            </div>
        </div>

        <input type="hidden" id="hidId"/>

    </div>
    <!--===================================================-->
    <!--End page content-->
</div>

<div th:fragment="scripts">
    <!--如果没有内容，请保持 -->
    <script src="/plugins/select2/js/select2.full.min.js"></script>
    <script src="/js/editCommon.js"></script>

    <script src="/plugins/webuploader-0.1.5/webuploader.js"></script>
    <script src="/pagejs/grade/subject/teacher/edit.js"></script>
</div>

</html>